﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// XhEventData
	/// </summary>
    [Serializable]
	public class XhEventData
	{
		/// <summary>
		/// XhEventID
        /// </summary>
        [FieldName("XhEventID")]		
		public int XhEventID
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhEventName
        /// </summary>
        [FieldName("XhEventName")]		
		public string XhEventName
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhEventDate
        /// </summary>
        [FieldName("XhEventDate")]		
		public DateTime XhEventDate
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhLocation
        /// </summary>
        [FieldName("XhLocation")]		
		public string XhLocation
		{
			get;
			set;
		}
        
        public XhEventData Clone()
        {
            return (XhEventData)this.MemberwiseClone();
        }
        
        public XhEventData()
        {
            XhEventName = string.Empty;
            XhEventDate = ConvertHelper.DefaultDate;
            XhLocation = string.Empty;
        }
	}
}
